
#ifndef houses
#define houses

#include "SDL.h"
#include "sprite.h"
#include "entity.h"
#include "player.h"
#include "widget.h"
#include "SDL_mixer.h"
#include "SDL_ttf.h"
#include <queue>
#include <string>

struct EnemyPrefab{
	int time;
	std::string data;
};


class house{

bool run;

public:

	int Ticks;
	int FPS;
	int Frames;
	float procTicks;
	int procFrames;
	unsigned int procState;
 TTF_Font *font1;
SDL_Surface *background; 
SDL_Surface *screen; 
SDL_Surface *top;
SDL_Surface *test;
SDL_Event event; 
widget* housegui;
std::queue<EnemyPrefab> levelData;
	sprite* s_player;
	player* Player;


SDL_Surface *loadImage(std::string);

void applySurface(int, int, SDL_Surface*, SDL_Surface*);
void loadEIF();
	house();


	void tick();



};


#endif